package com.caifu.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.caifu.pojo.CUserRecord;
import com.caifu.pojo.SysUser;
import com.caifu.vo.RecordVo;
import com.caifu.vo.UserRecordVo;
import com.github.pagehelper.PageInfo;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 人员进出记录表 服务类
 * </p>
 *
 * @author tww
 * @since 2020-12-14
 */
public interface CUserRecordService extends IService<CUserRecord> {

    /**
     * 获取进出记录 分页
     * @param recordVo
     * @return
     */
    PageInfo<RecordVo> getRecordList(RecordVo recordVo, SysUser user) throws Exception;

    /**
     *
     * @param list
     * @return
     * @throws Exception
     */
    Map addUserRecord(List<UserRecordVo> list) throws Exception;
}
